import Vue from 'vue'
import App from './App.vue'
import router from './router'
//导入axios
import axios from 'axios'
//导入mintui组件
import { Header,Swipe, SwipeItem } from 'mint-ui';
//导入mui样式
import './lib/mui/css/mui.css'
//拓展图标
import './lib/mui/css/icons-extra.css'

//全局使用axios
Vue.prototype.$http= axios

Vue.config.productionTip = false
//注册mintui组件
Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
